/************ GENERAL ************/

#nav-complete {
    position: sticky;
    z-index: 999;
    top: 0;
    width: 100%;
    background: #fff;
    visibility: visible;
    padding: 0;
    transition: all .4s;
}

#nav-complete.position-fixed{
    background: linear-gradient(180deg, rgb(0 0 0 / 55%), transparent);
}

/* body.nav-dark .overlay {
    background: rgba(0,0,0,.4);
}

body.nav-light .overlay {
    background: rgba(255,255,255,.4);
} */

#nav-complete.position-fixed.dark .menu .nav-link {
    color: #fff;
    padding: 10px;
}

#nav-complete.scrolled-nav .menu .nav-link,
#nav-complete:not(.dark) .nav-link,
#nav-complete:not(.scrolled-nav):not(.position-fixed) .menu .nav-link {
    /* color: #111!important; */
}

#nav-complete.scrolled-nav{
    background: #fff!important;
    -webkit-box-shadow: 0 0 7px 2px rgba(0,0,0,.3);
    -moz-box-shadow: 0 0 7px 2px rgba(0,0,0,.3);
    box-shadow: 0 0 7px 2px rgba(0,0,0,.3);
}

#nav-complete .logo {
    height: 140px;
    /* width: 190px; */
    transition: .4s;
    object-fit: contain;
}

#nav-complete.scrolled-nav .logo{
    height: 55px;
    /* content: url('https://beatricetaccola.com/img/loghi/logo2.png'); */
}

#nav-complete .navbar-brand {
    padding: .5rem 1rem;
    margin: 0;
}

#nav-complete .menu .nav-link {

    text-transform: uppercase;
    line-height: inherit;
    padding: 0.1rem 1rem;
    white-space: nowrap;
    /* font-size: 14px; */
    font-weight: bold;
    text-align: center;
    position: relative;
}

#nav-complete .left .nav-link,
#nav-complete .right .nav-link,
#nav-complete .menu .nav-item .nav-link.active,
#nav-complete .menu .nav-item .nav-link:hover {
    color: var(--main-color)!important;
}

#nav-complete.position-fixed:not(.scrolled-nav) a.nav-link,
#nav-complete.position-fixed:not(.scrolled-nav) .menu .nav-item .nav-link.active{
    color: #fff!important;
}
#nav-complete.position-fixed:not(.scrolled-nav) .bar{
    background: #fff!important;
}

#nav-complete.position-fixed:not(.scrolled-nav) .menu .nav-item .nav-link:hover{
    color: #fff!important;
    opacity: .6;
}

/* #nav-complete.position-fixed:not(.scrolled-nav) .menu .nav-link.active:before, 
#nav-complete.position-fixed:not(.scrolled-nav) .menu .nav-link:hover:before {
    background: #fff!important;
} */

/* #nav-complete .menu .nav-link.active:before,
#nav-complete .menu .nav-link:hover:before{
    content: "";
    width: 100%;
    height: 1px;
    background: var(--main-color);
    position: absolute;
    transition: .4s;
} */

#nav-complete .nav-link:hover {
    opacity: .7;
}

#nav-complete .container-fluid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: none;
}

#nav-complete .nav-link img {
    height: 1rem;
}

#nav-complete .nav-item {
    list-style: none;
}

#nav-complete .language a {
    font-weight: 700;
    text-transform: uppercase;
}

#nav-complete .navbar-nav.social {
    display: flex;
    align-items: center;
    flex-direction: row;
}

#nav-complete select {
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    background-image: url(https://image.flaticon.com/icons/svg/60/60781.svg);
    background-position: 85% 55%;
    background-repeat: no-repeat;
    background-size: 10px;
    background-color: transparent;
    border: none;
    color: white;
    /* border-bottom: 1px solid #E0E0E0; */
    /* box-shadow: 0 1px 5px -2px rgba(0, 0, 0, 0.2); */
    transition: all .3s;
}

.lang-switch option{
    text-transform: uppercase;
}

.overflow-hidden{
    overflow: hidden;
}

/* 
Mobile btns space : 
    1199 => expand xl
    991 => expand lg
    767 => expand md
*/
@media (max-width: 1199){
    body{
        padding-bottom: 50px;
    }
}

/*********************************/

/************ DESKTOP ************/


#desktop-menu .menu {
    transition: all .4s;
    position: relative;
    justify-content: center;
}

#desktop-menu .menu .navbar-nav:last-child {
    /* position: absolute; */
    transition: all .4s; 
    flex: 1 0 300px;
    /* left: calc(50% + 80px); */
}

#desktop-menu .menu .navbar-nav:first-child {
    /* position: absolute; */
    transition: all .4s; 
    flex: 1 0 300px;
    /* right: calc(50% + 80px); */
}

#nav-complete.scrolled-nav #desktop-menu .menu .navbar-nav:last-child{
    /* left: calc(50% + 60px); */
}

#nav-complete.scrolled-nav #desktop-menu .menu .navbar-nav:first-child{
    /* right: calc(50% + 60px); */
}

#desktop-menu, #mobile-menu {
    display: flex;
    justify-content: space-between;
}

#desktop-menu > div {
    width: 100%;
}

#desktop-menu > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#desktop-menu .left, 
#mobile-menu .left {
    justify-content: flex-start;
    flex: 0 1 auto;
}

#desktop-menu .right, 
#mobile-menu .right {
    justify-content: flex-end;
    flex: 0 1 auto;
}

#desktop-menu .menu .navbar-nav .nav-link {
    /* padding: 0;
    margin: 0; */
}

#desktop-menu .menu .navbar-nav .nav-item:not(:last-child) .nav-link {
    margin-right: 10px!important;
}

@media (min-width: 1200px) and (max-width: 1500px){
    .left ul.navbar-nav{
        max-width: 200px;
    }
    .left ul.navbar-nav a.nav-link {
        padding: 5px;
    }
}

/*********************************/

/************ MOBILE ************/

#mobile-menu > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#nav-complete #mobile-menu .logo {
    height: 80px;
}
#nav-complete.scrolled-nav #mobile-menu .logo {
    height: 40px;
}

.bar {
    display: block;
    height: 3px;
    width: 30px;
    border-radius: 10px;
    background: var(--secondary-color);
    margin: 10px auto;
}

.middle {
    margin: 0 auto;
    width: 36px !important;
}

.bar {
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -ms-transition: all .7s ease;
    -o-transition: all .7s ease;
    transition: all .7s ease;
}

.barclicked {
    background: #fff !important;
}

.topclicked {
    -webkit-transform: translateY(13px) rotateZ(45deg);
    -moz-transform: translateY(13px) rotateZ(45deg);
    -ms-transform: translateY(13px) rotateZ(45deg);
    -o-transform: translateY(13px) rotateZ(45deg);
    transform: translateY(13px) rotateZ(45deg);
}

.bottomclicked {
    -webkit-transform: translateY(-13px) rotateZ(-45deg);
    -moz-transform: translateY(-13px) rotateZ(-45deg);
    -ms-transform: translateY(-13px) rotateZ(-45deg);
    -o-transform: translateY(-13px) rotateZ(-45deg);
    transform: translateY(-13px) rotateZ(-45deg);
}

.middleclicked {
    width: 0 !important;
}

.mobile-menu-toggler {
    position: relative;
    z-index: 999;
}

#mobile-links {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99;
    left: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.8);
}

.mobile-menu-toggler {
    position: relative;
    z-index: 999;
    width: 70px;
    cursor: pointer;
}

#mobile-links a {
    min-height: 50px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

#mobile-links a.active,
#mobile-links .mobile-lng-row a.active {
    color: var(--secondary-color);
}

#mobile-menu i {
    font-size: 20px;
}

#mobile-btns-container {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    z-index: 9;
    background: var(--main-color);
}

.mobile-btn {
    background: var(--primary-color) !important;
    color: #fff !important;
    height: 100%;
    font-size: 14px !important;
    text-align: center;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    text-transform: none !important;
}

.mobile-btn:hover {
    color: var(--main-color);
    text-decoration: none;
}

/*********************************/